//Date.h
//10.29.2009

#include <iostream>

using std::ostream;

class Date {
	friend ostream & operator<< (ostream &, Date &);

    public:
        Date(int = 2009, int = 1, int = 1);

        int getYear();
        int getMonth();
        int getDay();

        void setYear(int);
        void setMonth(int);
        void setDay(int);

        void displayDate();

    private:
        int month, day, year;
};
